<?php

/**
 * @file Class.php
 * @author Alejandro Dario Simi
 * @date $Date: 2014-05-04 01:33:52 +0000 (Sun, 04 May 2014) $
 *
 * $Id: Class.php 111 2014-05-04 01:33:52Z daemonraco@gmail.com $
 * $URL: http://wcomix.googlecode.com/svn/trunk/extensions/RandomReader/Class.php $
 */
global $wcPaths;
global $wcSideTools;

define("WC_E_RANDOMREADER_VERSION", "1.0");
define("WC_E_RANDOMREADER_ROOTDIR", __DIR__);
define("WC_E_RANDOMREADER_NAME", basename(WC_E_RANDOMREADER_ROOTDIR));
define("WC_E_RANDOMREADER_URI", dirname($_SERVER["SCRIPT_NAME"])."/{$wcPaths["extensions-directory-uri"]}/".WC_E_RANDOMREADER_NAME);

$extensionBasicInfo = array(
	"name" => "Random Reader",
	"description" => "Suggests a comic",
	"author" => "Alejandro Dario Simi",
	"version" => WC_E_RANDOMREADER_VERSION,
	"url" => array(
		"title" => "wcomix:Extension:RandomReader",
		"href" => "http://wiki.daemonraco.com/wiki/Wcomix:Extension:RandomReader"
	)
);

$wcPaths["mvc"]["pools"]["actions"][] = __DIR__;
$wcPaths["mvc"]["pools"]["skins"]["actions"][] = __DIR__;

$wcSideTools[] = array_merge(array(
	"action" => "randomreader:side"
	), $extensionBasicInfo);
